<?php
require 'ysp.config.php';
require 'config.php';

$function_name = isset($_GET['A']) ? trim($_GET['A']) : 'denglu';
$class_name = isset($_GET['C']) ? trim($_GET['C']) : 'Xitong';
$lei_class = $class_name . 'Page';

require PATH_CONTRALLERS . "MenuPage.php";
require PATH_CONTRALLERS . "$lei_class.php";

$obj = new $lei_class();
$obj->$function_name();   
